/**
 * Copyright (C), 2015-2020, XXX有限公司
 * FileName: Hero
 * Author:   ZX
 * Date:     2020/6/12 14:46
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package org.example.entity;

import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;

/**
 * 〈一句话功能简述〉<br> 
 * 〈〉
 *
 * @author ZX
 * @create 2020/6/12
 * @since 1.0.0
 */
public class Hero {
    private String name;
    private int age;
    private List jobs;
    private Set skills;
    private Map<String,String> map;
    private Properties prop;

    public Cat getCat() {
        return cat;
    }

    public void setCat(Cat cat) {
        this.cat = cat;
    }

    public Dog getDog() {
        return dog;
    }

    public void setDog(Dog dog) {
        this.dog = dog;
    }

    private Cat cat;
    private Dog dog;

    @Override
    public String toString() {
        return "Hero{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", jobs=" + jobs +
                ", skills=" + skills +
                ", map=" + map +
                ", prop=" + prop +
                ", cat=" + cat +
                ", dog=" + dog +
                '}';
    }

    public Hero() {
        System.out.println("Hero被创建了");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public List getJobs() {
        return jobs;
    }

    public void setJobs(List jobs) {
        this.jobs = jobs;
    }

    public Set getSkills() {
        return skills;
    }

    public void setSkills(Set skills) {
        this.skills = skills;
    }

    public Map<String, String> getMap() {
        return map;
    }

    public void setMap(Map<String, String> map) {
        this.map = map;
    }

    public Properties getProp() {
        return prop;
    }

    public void setProp(Properties prop) {
        this.prop = prop;
    }
}